#!/bin/sh

DEV=/dev/ttyUSB0

stty -F $DEV 115200
echo "start flash"
sx -bvv $1 > $DEV < $DEV &> out.txt